home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / nano / java.nanorc < prev    next >
Text File  |  2008-09-24  |  610b  |  13 lines

  1. ## Here is an example for Java.
  2. ##
  3. syntax "java" "\.java$"
  4. color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
  5. color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
  6. color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
  7. color red ""[^"]*""
  8. color yellow "\<(true|false|null)\>"
  9. color blue "//.*"
  10. color blue start="/\*" end="\*/"
  11. color brightblue start="/\*\*" end="\*/"
  12. color ,green "[[:space:]]+$"
  13.